<template>
	<view class="content">
		<van-button type="success" @click="goAdd()" block style="margin-bottom: 10rpx;">添加账单</van-button>
		<van-button plain type="primary" @click="goList()" block>账单列表</van-button>
	</view>
</template>

<script setup>
const goAdd = ()=>{
	uni.navigateTo({
		url: '/pages/add/index'
	});
}
const goList = () => {
	uni.navigateTo({
		url: '/pages/list/index'
	});
}
</script>

<style>
</style>
